<!-- FOUR STEPS TO INSTALL TOP WINDOW (opener.html): 1. Paste the coding into the HEAD of your "opener" HTML document 2. Copy the second coding into the BODY of your "opener" page 3. Create your pop-up page and save it as popup-page.html 4. Put the onBlur handler in the BODY of popup-page.html --> <!-- STEP ONE: Copy this code into the HEAD of your "opener" page --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available online from --> <!-- The JavaScript Source!! http://javascriptsource.com --> <!-- Begin function topWindow(){ popup = window.open("popup-page.html","","height=175,width=300,scrollbars=no"); } // End --> </SCRIPT> <!-- STEP TWO: Add this code the the BODY of your "opener" page --> <BODY> <CENTER> <FORM> <INPUT TYPE="BUTTON" VALUE="Pop-Up" onClick="topWindow()"> </FORM> </CENTER> <!-- Script Size: 0.92 KB -->
<!-- FOUR STEPS TO INSTALL TOP WINDOW (popup-page.html): 1. Paste the coding into the HEAD of your "opener" HTML document 2. Copy the second coding into the BODY of your "opener" page 3. Create pop-up page and save as popup-page.html 4. Put the onBlur handler in the BODY of popup-page.html --> <!-- STEP THREE: Create pop-up page - save as popup-page.html --> <!-- STEP FOUR: Add onBlur handler to BODY of popup-page.html --> <BODY onBlur="self.focus()"> <!-- Script Size: 0.56 KB -->
1998 Copyright (C) Next Step All Rights Reserved